import { defineStore } from 'pinia'
import type { ChatConfig } from '../types/chat'

export const useChatStore = defineStore('chat', {
  state: () => ({
    config: {
      apiKey: import.meta.env.VITE_DIFY_API_KEY,
      dataset_Key: import.meta.env.VITE_DIFY_DATASET_KEY,
      userId: 'default-user'
    } as ChatConfig,
    conversationId: ''
  }),

  actions: { }
}) 